"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
    if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
        if (ar || !(i in from)) {
            if (!ar) ar = Array.prototype.slice.call(from, 0, i);
            ar[i] = from[i];
        }
    }
    return to.concat(ar || Array.prototype.slice.call(from));
};
Object.defineProperty(exports, "__esModule", { value: true });
var vue_1 = require("vue");
var element_plus_1 = require("element-plus");
var icons_vue_1 = require("@element-plus/icons-vue");
// 仓库列表数据
var warehouseList = (0, vue_1.ref)([
    {
        name: '1号仓库',
        amount: '109800',
        productCount: 354,
        brandRange: '蓝妮尔/臻药/贝亦美/OD和悦肽',
        manager: '李三燕',
        phone: '13235461389',
        address: '上海市浦东新区张江高科技园区',
        brands: ['蓝妮尔', '臻药', '贝亦美', 'OD', '和悦肽']
    },
    {
        name: '2号仓库',
        amount: '128197',
        productCount: 361,
        brandRange: '蓝妮尔/臻药/贝亦美/OD和悦肽',
        manager: '李三燕',
        phone: '13235461389',
        address: '北京市海淀区中关村大街',
        brands: ['蓝妮尔', '臻药', '贝亦美', 'OD', '和悦肽']
    },
    {
        name: '3号仓库',
        amount: '123374',
        productCount: 372,
        brandRange: '蓝妮尔/臻药/贝亦美/OD和悦肽',
        manager: '李三燕',
        phone: '13235461389',
        address: '广州市天河区珠江新城',
        brands: ['蓝妮尔', '臻药', '贝亦美', 'OD', '和悦肽']
    }
]);
// 库存数据
var stockList = (0, vue_1.ref)([
    {
        productNo: '4545',
        productName: '丝芙兰',
        brand: '丝芙兰精华眼霜',
        spec: '50g',
        type: '单品',
        retailPrice: '¥111.62',
        discountRule: '单品1.2 套盒2.3',
        discountPrice: '¥123.98',
        specialPrice: '¥123.98',
        seckillPrice: '¥111.62',
        warehouse: '1号',
        stock: 65426,
        inDate: '2022.8.29',
        validDays: '355天'
    },
    {
        productNo: '4545',
        productName: '丝芙兰',
        brand: '丝芙兰精华眼霜',
        spec: '50g',
        type: '套盒',
        retailPrice: '¥111.62',
        discountRule: '单品1.2 套盒2.3',
        discountPrice: '¥123.98',
        specialPrice: '¥123.98',
        seckillPrice: '¥111.62',
        warehouse: '1号',
        stock: 65426,
        inDate: '2022.8.29',
        validDays: '355天'
    },
    {
        productNo: '4545',
        productName: '丝芙兰',
        brand: '丝芙兰精华眼霜',
        spec: '50g',
        type: '单品',
        retailPrice: '¥111.62',
        discountRule: '单品1.2 套盒2.3',
        discountPrice: '¥123.98',
        specialPrice: '¥123.98',
        seckillPrice: '¥111.62',
        warehouse: '1号',
        stock: 65426,
        inDate: '2022.8.29',
        validDays: '355天'
    }
]);
// 状态管理
var state = (0, vue_1.reactive)({
    // 仓库弹窗
    dialogVisible: false,
    isEditMode: false,
    currentIndex: -1,
    warehouseForm: {
        name: '默认仓库',
        address: '',
        phone: '',
        manager: '',
        brands: []
    },
    // 库存弹窗
    stockDialogVisible: false,
    currentWarehouse: {},
    stockSearch: {
        brand: '',
        category: '',
        keyword: ''
    },
    stockCurrentPage: 1,
    stockJumpPage: ''
});
var _a = (0, vue_1.toRefs)(state), dialogVisible = _a.dialogVisible, isEditMode = _a.isEditMode, currentIndex = _a.currentIndex, warehouseForm = _a.warehouseForm, stockDialogVisible = _a.stockDialogVisible, currentWarehouse = _a.currentWarehouse, stockSearch = _a.stockSearch, stockCurrentPage = _a.stockCurrentPage, stockJumpPage = _a.stockJumpPage;
// 筛选后的库存列表
var filteredStockList = (0, vue_1.computed)(function () {
    return stockList.value.filter(function (item) {
        // 品牌筛选
        if (stockSearch.value.brand && item.brand !== stockSearch.value.brand)
            return false;
        // 分类筛选
        if (stockSearch.value.category && item.type !== stockSearch.value.category)
            return false;
        // 关键字筛选
        if (stockSearch.value.keyword) {
            var keyword = stockSearch.value.keyword.trim().toLowerCase();
            return item.productName.toLowerCase().includes(keyword)
                || item.productNo.includes(keyword)
                || item.brand.toLowerCase().includes(keyword);
        }
        return true;
    });
});
// 库存分页总页数
var stockTotalPages = (0, vue_1.computed)(function () {
    return Math.ceil(filteredStockList.value.length / 10) || 1;
});
// 库存合计数据
var totalDiscountPrice = (0, vue_1.computed)(function () {
    return filteredStockList.value.reduce(function (sum, item) {
        return sum + Number(item.discountPrice.replace('¥', ''));
    }, 0).toFixed(2);
});
var totalSpecialPrice = (0, vue_1.computed)(function () {
    return filteredStockList.value.reduce(function (sum, item) {
        return sum + Number(item.specialPrice.replace('¥', ''));
    }, 0).toFixed(2);
});
var totalSeckillPrice = (0, vue_1.computed)(function () {
    return filteredStockList.value.reduce(function (sum, item) {
        return sum + Number(item.seckillPrice.replace('¥', ''));
    }, 0).toFixed(2);
});
var totalStock = (0, vue_1.computed)(function () {
    return filteredStockList.value.reduce(function (sum, item) { return sum + item.stock; }, 0);
});
// 打开库存弹窗（点击仓库卡片触发）
var openStockDialog = function (warehouse) {
    currentWarehouse.value = warehouse;
    // 重置搜索条件
    stockSearch.value = { brand: '', category: '', keyword: '' };
    stockCurrentPage.value = 1;
    stockDialogVisible.value = true;
};
// 库存搜索
var handleStockSearch = function () {
    stockCurrentPage.value = 1;
};
// 库存分页切换
var handleStockPageChange = function (val) {
    stockCurrentPage.value = val;
};
// 库存页码跳转
var handleStockJumpPage = function () {
    var page = Number(stockJumpPage.value);
    if (page && page >= 1 && page <= stockTotalPages.value) {
        stockCurrentPage.value = page;
    }
    else {
        element_plus_1.ElMessage.error("\u8BF7\u8F93\u51651-".concat(stockTotalPages.value, "\u4E4B\u95F4\u7684\u9875\u7801"));
    }
};
// 新建仓库
var handleAddWarehouse = function () {
    warehouseForm.value = {
        name: '默认仓库',
        address: '',
        phone: '',
        manager: '',
        brands: []
    };
    isEditMode.value = false;
    dialogVisible.value = true;
};
// 编辑仓库
var handleEditWarehouse = function (item) {
    warehouseForm.value = __assign({}, item);
    isEditMode.value = true;
    currentIndex.value = warehouseList.value.findIndex(function (w) { return w.name === item.name; });
    dialogVisible.value = true;
};
// 保存新仓库
var handleSaveWarehouse = function () {
    if (!warehouseForm.value.name.trim()) {
        element_plus_1.ElMessage.error('请输入仓库名称');
        return;
    }
    if (warehouseForm.value.brands.length === 0) {
        element_plus_1.ElMessage.error('请至少选择一个仓库品牌');
        return;
    }
    var brandRange = warehouseForm.value.brands.join('/');
    warehouseList.value.push(__assign(__assign({}, warehouseForm.value), { amount: '0', productCount: 0, brandRange: brandRange }));
    element_plus_1.ElMessage.success('仓库创建成功');
    dialogVisible.value = false;
};
// 更新仓库
var handleUpdateWarehouse = function () {
    if (!warehouseForm.value.name.trim()) {
        element_plus_1.ElMessage.error('请输入仓库名称');
        return;
    }
    if (warehouseForm.value.brands.length === 0) {
        element_plus_1.ElMessage.error('请至少选择一个仓库品牌');
        return;
    }
    var brandRange = warehouseForm.value.brands.join('/');
    warehouseList.value[currentIndex.value] = __assign(__assign(__assign({}, warehouseList.value[currentIndex.value]), warehouseForm.value), { brandRange: brandRange });
    element_plus_1.ElMessage.success('仓库更新成功');
    dialogVisible.value = false;
};
// 删除仓库
var handleDeleteWarehouse = function (index) {
    element_plus_1.ElMessageBox.confirm("\u786E\u5B9A\u8981\u5220\u9664\u3010".concat(warehouseList.value[index].name, "\u3011\u5417\uFF1F"), '删除确认', { type: 'warning' }).then(function () {
        warehouseList.value.splice(index, 1);
        element_plus_1.ElMessage.success('仓库已删除');
    });
};
debugger; /* PartiallyEnd: #3632/scriptSetup.vue */
var __VLS_ctx = __assign(__assign({}, {}), {});
var __VLS_elements;
var __VLS_components;
var __VLS_directives;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-card']} */ ;
/** @type {__VLS_StyleScopedClasses['add-card']} */ ;
/** @type {__VLS_StyleScopedClasses['add-card']} */ ;
/** @type {__VLS_StyleScopedClasses['add-icon']} */ ;
/** @type {__VLS_StyleScopedClasses['add-icon']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-name']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-address']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['el-input']} */ ;
/** @type {__VLS_StyleScopedClasses['save-btn']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-page']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['brand-checkboxes']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-list']} */ ;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "warehouse-page" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "page-title" }));
__VLS_asFunctionalElement(__VLS_elements.h2, __VLS_elements.h2)({});
__VLS_asFunctionalElement(__VLS_elements.p, __VLS_elements.p)({});
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "warehouse-list" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign(__assign({ onClick: (__VLS_ctx.handleAddWarehouse) }, { class: "warehouse-card add-card" }), { hover: true }));
// @ts-ignore
[handleAddWarehouse,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "add-icon" }));
var __VLS_0 = {}.ElIcon;
/** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
// @ts-ignore
ElIcon;
// @ts-ignore
var __VLS_1 = __VLS_asFunctionalComponent(__VLS_0, new __VLS_0({
    size: "30",
    color: "#23c6c8",
}));
var __VLS_2 = __VLS_1.apply(void 0, __spreadArray([{
        size: "30",
        color: "#23c6c8",
    }], __VLS_functionalComponentArgsRest(__VLS_1), false));
var __VLS_4 = __VLS_3.slots.default;
var __VLS_5 = {}.Plus;
/** @type {[typeof __VLS_components.Plus, ]} */ ;
// @ts-ignore
icons_vue_1.Plus;
// @ts-ignore
var __VLS_6 = __VLS_asFunctionalComponent(__VLS_5, new __VLS_5({}));
var __VLS_7 = __VLS_6.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_6), false));
var __VLS_3;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "add-text" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "add-subtext" }));
var _loop_1 = function (item, index) {
    // @ts-ignore
    [warehouseList,];
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "warehouse-card" }, { key: (index), hover: true }));
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ onClick: function () {
            var _a = [];
            for (var _i = 0; _i < arguments.length; _i++) {
                _a[_i] = arguments[_i];
            }
            var $event = _a[0];
            __VLS_ctx.openStockDialog(item);
            // @ts-ignore
            [openStockDialog,];
        } }, { class: "card-content" }));
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "card-header" }));
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "warehouse-name" }));
    var __VLS_10 = {}.ElIcon;
    /** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
    // @ts-ignore
    ElIcon;
    // @ts-ignore
    var __VLS_11 = __VLS_asFunctionalComponent(__VLS_10, new __VLS_10({}));
    var __VLS_12 = __VLS_11.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_11), false));
    var __VLS_14 = __VLS_13.slots.default;
    var __VLS_15 = {}.UserFilled;
    /** @type {[typeof __VLS_components.UserFilled, ]} */ ;
    // @ts-ignore
    icons_vue_1.UserFilled;
    // @ts-ignore
    var __VLS_16 = __VLS_asFunctionalComponent(__VLS_15, new __VLS_15({}));
    var __VLS_17 = __VLS_16.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_16), false));
    (item.name);
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "dropdown-container" }));
    var __VLS_20 = {}.ElDropdown;
    /** @type {[typeof __VLS_components.ElDropdown, typeof __VLS_components.elDropdown, typeof __VLS_components.ElDropdown, typeof __VLS_components.elDropdown, ]} */ ;
    // @ts-ignore
    ElDropdown;
    // @ts-ignore
    var __VLS_21 = __VLS_asFunctionalComponent(__VLS_20, new __VLS_20({
        size: "mini",
        trigger: "click",
    }));
    var __VLS_22 = __VLS_21.apply(void 0, __spreadArray([{
            size: "mini",
            trigger: "click",
        }], __VLS_functionalComponentArgsRest(__VLS_21), false));
    var __VLS_24 = __VLS_23.slots.default;
    var __VLS_25 = {}.ElIcon;
    /** @type {[typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, typeof __VLS_components.ElIcon, typeof __VLS_components.elIcon, ]} */ ;
    // @ts-ignore
    ElIcon;
    // @ts-ignore
    var __VLS_26 = __VLS_asFunctionalComponent(__VLS_25, new __VLS_25({}));
    var __VLS_27 = __VLS_26.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_26), false));
    var __VLS_29 = __VLS_28.slots.default;
    var __VLS_30 = {}.More;
    /** @type {[typeof __VLS_components.More, ]} */ ;
    // @ts-ignore
    icons_vue_1.More;
    // @ts-ignore
    var __VLS_31 = __VLS_asFunctionalComponent(__VLS_30, new __VLS_30({}));
    var __VLS_32 = __VLS_31.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_31), false));
    {
        var __VLS_35 = __VLS_23.slots.dropdown;
        var __VLS_36 = {}.ElDropdownMenu;
        /** @type {[typeof __VLS_components.ElDropdownMenu, typeof __VLS_components.elDropdownMenu, typeof __VLS_components.ElDropdownMenu, typeof __VLS_components.elDropdownMenu, ]} */ ;
        // @ts-ignore
        ElDropdownMenu;
        // @ts-ignore
        var __VLS_37 = __VLS_asFunctionalComponent(__VLS_36, new __VLS_36({}));
        var __VLS_38 = __VLS_37.apply(void 0, __spreadArray([{}], __VLS_functionalComponentArgsRest(__VLS_37), false));
        var __VLS_40 = __VLS_39.slots.default;
        var __VLS_41 = {}.ElDropdownItem;
        /** @type {[typeof __VLS_components.ElDropdownItem, typeof __VLS_components.elDropdownItem, typeof __VLS_components.ElDropdownItem, typeof __VLS_components.elDropdownItem, ]} */ ;
        // @ts-ignore
        ElDropdownItem;
        // @ts-ignore
        var __VLS_42 = __VLS_asFunctionalComponent(__VLS_41, new __VLS_41(__assign({ 'onClick': {} })));
        var __VLS_43 = __VLS_42.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_42), false));
        var __VLS_45 = void 0;
        var __VLS_46 = void 0;
        var __VLS_47 = ({ click: {} },
            { onClick: function () {
                    var _a = [];
                    for (var _i = 0; _i < arguments.length; _i++) {
                        _a[_i] = arguments[_i];
                    }
                    var $event = _a[0];
                    __VLS_ctx.handleEditWarehouse(item);
                    // @ts-ignore
                    [handleEditWarehouse,];
                } });
        var __VLS_48 = __VLS_44.slots.default;
        var __VLS_49 = {}.ElDropdownItem;
        /** @type {[typeof __VLS_components.ElDropdownItem, typeof __VLS_components.elDropdownItem, typeof __VLS_components.ElDropdownItem, typeof __VLS_components.elDropdownItem, ]} */ ;
        // @ts-ignore
        ElDropdownItem;
        // @ts-ignore
        var __VLS_50 = __VLS_asFunctionalComponent(__VLS_49, new __VLS_49(__assign({ 'onClick': {} })));
        var __VLS_51 = __VLS_50.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_50), false));
        var __VLS_53 = void 0;
        var __VLS_54 = void 0;
        var __VLS_55 = ({ click: {} },
            { onClick: function () {
                    var _a = [];
                    for (var _i = 0; _i < arguments.length; _i++) {
                        _a[_i] = arguments[_i];
                    }
                    var $event = _a[0];
                    __VLS_ctx.handleDeleteWarehouse(index);
                    // @ts-ignore
                    [handleDeleteWarehouse,];
                } });
        var __VLS_56 = __VLS_52.slots.default;
    }
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "warehouse-amount" }));
    (item.amount);
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "product-count" }));
    (item.productCount);
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "progress-container" }));
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "progress-bar" }, { style: ({ width: (item.productCount / 500 * 100) + '%' }) }));
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "brand-range" }));
    (item.brandRange);
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "warehouse-address" }));
    __VLS_asFunctionalElement(__VLS_elements.i, __VLS_elements.i)(__assign({ class: "el-icon-map-marker" }, { style: {} }));
    (item.address);
    __VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "manager-info" }));
    __VLS_asFunctionalElement(__VLS_elements.i, __VLS_elements.i)(__assign({ class: "el-icon-user" }, { style: {} }));
    __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
    (item.manager);
    __VLS_asFunctionalElement(__VLS_elements.i, __VLS_elements.i)(__assign({ class: "el-icon-mobile-phone" }, { style: {} }));
    __VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
    (item.phone);
};
var __VLS_13, __VLS_28, __VLS_44, __VLS_52, __VLS_39, __VLS_23;
for (var _i = 0, _b = __VLS_getVForSourceType((__VLS_ctx.warehouseList)); _i < _b.length; _i++) {
    var _c = _b[_i], item = _c[0], index = _c[1];
    _loop_1(item, index);
}
var __VLS_57 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_58 = __VLS_asFunctionalComponent(__VLS_57, new __VLS_57({
    title: "查询库存",
    modelValue: (__VLS_ctx.stockDialogVisible),
    width: "90%",
    destroyOnClose: true,
}));
var __VLS_59 = __VLS_58.apply(void 0, __spreadArray([{
        title: "查询库存",
        modelValue: (__VLS_ctx.stockDialogVisible),
        width: "90%",
        destroyOnClose: true,
    }], __VLS_functionalComponentArgsRest(__VLS_58), false));
var __VLS_61 = __VLS_60.slots.default;
// @ts-ignore
[stockDialogVisible,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "stock-search-area" }, { style: {} }));
var __VLS_62 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_63 = __VLS_asFunctionalComponent(__VLS_62, new __VLS_62(__assign({ modelValue: (__VLS_ctx.stockSearch.brand), placeholder: "请选择品牌" }, { style: {} })));
var __VLS_64 = __VLS_63.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.stockSearch.brand), placeholder: "请选择品牌" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_63), false));
var __VLS_66 = __VLS_65.slots.default;
// @ts-ignore
[stockSearch,];
var __VLS_67 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_68 = __VLS_asFunctionalComponent(__VLS_67, new __VLS_67({
    label: "丝芙兰",
    value: "丝芙兰",
}));
var __VLS_69 = __VLS_68.apply(void 0, __spreadArray([{
        label: "丝芙兰",
        value: "丝芙兰",
    }], __VLS_functionalComponentArgsRest(__VLS_68), false));
var __VLS_72 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_73 = __VLS_asFunctionalComponent(__VLS_72, new __VLS_72({
    label: "蓝妮尔",
    value: "蓝妮尔",
}));
var __VLS_74 = __VLS_73.apply(void 0, __spreadArray([{
        label: "蓝妮尔",
        value: "蓝妮尔",
    }], __VLS_functionalComponentArgsRest(__VLS_73), false));
var __VLS_65;
var __VLS_77 = {}.ElSelect;
/** @type {[typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, typeof __VLS_components.ElSelect, typeof __VLS_components.elSelect, ]} */ ;
// @ts-ignore
ElSelect;
// @ts-ignore
var __VLS_78 = __VLS_asFunctionalComponent(__VLS_77, new __VLS_77(__assign({ modelValue: (__VLS_ctx.stockSearch.category), placeholder: "产品分类" }, { style: {} })));
var __VLS_79 = __VLS_78.apply(void 0, __spreadArray([__assign({ modelValue: (__VLS_ctx.stockSearch.category), placeholder: "产品分类" }, { style: {} })], __VLS_functionalComponentArgsRest(__VLS_78), false));
var __VLS_81 = __VLS_80.slots.default;
// @ts-ignore
[stockSearch,];
var __VLS_82 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_83 = __VLS_asFunctionalComponent(__VLS_82, new __VLS_82({
    label: "单品",
    value: "单品",
}));
var __VLS_84 = __VLS_83.apply(void 0, __spreadArray([{
        label: "单品",
        value: "单品",
    }], __VLS_functionalComponentArgsRest(__VLS_83), false));
var __VLS_87 = {}.ElOption;
/** @type {[typeof __VLS_components.ElOption, typeof __VLS_components.elOption, ]} */ ;
// @ts-ignore
ElOption;
// @ts-ignore
var __VLS_88 = __VLS_asFunctionalComponent(__VLS_87, new __VLS_87({
    label: "套盒",
    value: "套盒",
}));
var __VLS_89 = __VLS_88.apply(void 0, __spreadArray([{
        label: "套盒",
        value: "套盒",
    }], __VLS_functionalComponentArgsRest(__VLS_88), false));
var __VLS_80;
var __VLS_92 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_93 = __VLS_asFunctionalComponent(__VLS_92, new __VLS_92(__assign(__assign(__assign({ 'onKeyup': {} }, { modelValue: (__VLS_ctx.stockSearch.keyword), placeholder: "请输入关键字" }), { style: {} }), { suffixIcon: "el-icon-search" })));
var __VLS_94 = __VLS_93.apply(void 0, __spreadArray([__assign(__assign(__assign({ 'onKeyup': {} }, { modelValue: (__VLS_ctx.stockSearch.keyword), placeholder: "请输入关键字" }), { style: {} }), { suffixIcon: "el-icon-search" })], __VLS_functionalComponentArgsRest(__VLS_93), false));
var __VLS_96;
var __VLS_97;
var __VLS_98 = ({ keyup: {} },
    { onKeyup: (__VLS_ctx.handleStockSearch) });
// @ts-ignore
[stockSearch, handleStockSearch,];
var __VLS_95;
var __VLS_100 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_101 = __VLS_asFunctionalComponent(__VLS_100, new __VLS_100(__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "search" }), { style: {} })));
var __VLS_102 = __VLS_101.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary", icon: "search" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_101), false));
var __VLS_104;
var __VLS_105;
var __VLS_106 = ({ click: {} },
    { onClick: (__VLS_ctx.handleStockSearch) });
var __VLS_107 = __VLS_103.slots.default;
// @ts-ignore
[handleStockSearch,];
var __VLS_103;
var __VLS_108 = {}.ElTable;
/** @type {[typeof __VLS_components.ElTable, typeof __VLS_components.elTable, typeof __VLS_components.ElTable, typeof __VLS_components.elTable, ]} */ ;
// @ts-ignore
ElTable;
// @ts-ignore
var __VLS_109 = __VLS_asFunctionalComponent(__VLS_108, new __VLS_108({
    data: (__VLS_ctx.filteredStockList),
    border: true,
    stripe: true,
}));
var __VLS_110 = __VLS_109.apply(void 0, __spreadArray([{
        data: (__VLS_ctx.filteredStockList),
        border: true,
        stripe: true,
    }], __VLS_functionalComponentArgsRest(__VLS_109), false));
var __VLS_112 = __VLS_111.slots.default;
// @ts-ignore
[filteredStockList,];
var __VLS_113 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_114 = __VLS_asFunctionalComponent(__VLS_113, new __VLS_113({
    prop: "productNo",
    label: "产品编号",
    align: "center",
}));
var __VLS_115 = __VLS_114.apply(void 0, __spreadArray([{
        prop: "productNo",
        label: "产品编号",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_114), false));
var __VLS_118 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_119 = __VLS_asFunctionalComponent(__VLS_118, new __VLS_118({
    prop: "productName",
    label: "产品名称",
    align: "center",
}));
var __VLS_120 = __VLS_119.apply(void 0, __spreadArray([{
        prop: "productName",
        label: "产品名称",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_119), false));
var __VLS_123 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_124 = __VLS_asFunctionalComponent(__VLS_123, new __VLS_123({
    prop: "brand",
    label: "归属品牌",
    align: "center",
}));
var __VLS_125 = __VLS_124.apply(void 0, __spreadArray([{
        prop: "brand",
        label: "归属品牌",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_124), false));
var __VLS_128 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_129 = __VLS_asFunctionalComponent(__VLS_128, new __VLS_128({
    prop: "spec",
    label: "规格",
    align: "center",
}));
var __VLS_130 = __VLS_129.apply(void 0, __spreadArray([{
        prop: "spec",
        label: "规格",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_129), false));
var __VLS_133 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_134 = __VLS_asFunctionalComponent(__VLS_133, new __VLS_133({
    prop: "type",
    label: "类型",
    align: "center",
}));
var __VLS_135 = __VLS_134.apply(void 0, __spreadArray([{
        prop: "type",
        label: "类型",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_134), false));
var __VLS_138 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_139 = __VLS_asFunctionalComponent(__VLS_138, new __VLS_138({
    prop: "retailPrice",
    label: "零售价",
    align: "center",
}));
var __VLS_140 = __VLS_139.apply(void 0, __spreadArray([{
        prop: "retailPrice",
        label: "零售价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_139), false));
var __VLS_143 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_144 = __VLS_asFunctionalComponent(__VLS_143, new __VLS_143({
    prop: "discountRule",
    label: "折扣",
    align: "center",
}));
var __VLS_145 = __VLS_144.apply(void 0, __spreadArray([{
        prop: "discountRule",
        label: "折扣",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_144), false));
var __VLS_148 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_149 = __VLS_asFunctionalComponent(__VLS_148, new __VLS_148({
    prop: "discountPrice",
    label: "折扣价",
    align: "center",
}));
var __VLS_150 = __VLS_149.apply(void 0, __spreadArray([{
        prop: "discountPrice",
        label: "折扣价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_149), false));
var __VLS_153 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_154 = __VLS_asFunctionalComponent(__VLS_153, new __VLS_153({
    prop: "specialPrice",
    label: "特价",
    align: "center",
}));
var __VLS_155 = __VLS_154.apply(void 0, __spreadArray([{
        prop: "specialPrice",
        label: "特价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_154), false));
var __VLS_158 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_159 = __VLS_asFunctionalComponent(__VLS_158, new __VLS_158({
    prop: "seckillPrice",
    label: "秒杀价",
    align: "center",
}));
var __VLS_160 = __VLS_159.apply(void 0, __spreadArray([{
        prop: "seckillPrice",
        label: "秒杀价",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_159), false));
var __VLS_163 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_164 = __VLS_asFunctionalComponent(__VLS_163, new __VLS_163({
    prop: "warehouse",
    label: "仓库",
    align: "center",
}));
var __VLS_165 = __VLS_164.apply(void 0, __spreadArray([{
        prop: "warehouse",
        label: "仓库",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_164), false));
var __VLS_168 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_169 = __VLS_asFunctionalComponent(__VLS_168, new __VLS_168({
    prop: "stock",
    label: "库存",
    align: "center",
}));
var __VLS_170 = __VLS_169.apply(void 0, __spreadArray([{
        prop: "stock",
        label: "库存",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_169), false));
var __VLS_173 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_174 = __VLS_asFunctionalComponent(__VLS_173, new __VLS_173({
    prop: "inDate",
    label: "入库日期",
    align: "center",
}));
var __VLS_175 = __VLS_174.apply(void 0, __spreadArray([{
        prop: "inDate",
        label: "入库日期",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_174), false));
var __VLS_178 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_179 = __VLS_asFunctionalComponent(__VLS_178, new __VLS_178({
    prop: "validDays",
    label: "有效期",
    align: "center",
}));
var __VLS_180 = __VLS_179.apply(void 0, __spreadArray([{
        prop: "validDays",
        label: "有效期",
        align: "center",
    }], __VLS_functionalComponentArgsRest(__VLS_179), false));
var __VLS_183 = {}.ElTableColumn;
/** @type {[typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, typeof __VLS_components.ElTableColumn, typeof __VLS_components.elTableColumn, ]} */ ;
// @ts-ignore
ElTableColumn;
// @ts-ignore
var __VLS_184 = __VLS_asFunctionalComponent(__VLS_183, new __VLS_183({
    label: "操作",
    align: "center",
    width: "300",
}));
var __VLS_185 = __VLS_184.apply(void 0, __spreadArray([{
        label: "操作",
        align: "center",
        width: "300",
    }], __VLS_functionalComponentArgsRest(__VLS_184), false));
var __VLS_187 = __VLS_186.slots.default;
{
    var __VLS_188 = __VLS_186.slots.default;
    var __VLS_189 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_190 = __VLS_asFunctionalComponent(__VLS_189, new __VLS_189({
        type: "success",
    }));
    var __VLS_191 = __VLS_190.apply(void 0, __spreadArray([{
            type: "success",
        }], __VLS_functionalComponentArgsRest(__VLS_190), false));
    var __VLS_193 = __VLS_192.slots.default;
    var __VLS_192;
    var __VLS_194 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_195 = __VLS_asFunctionalComponent(__VLS_194, new __VLS_194({
        type: "danger",
    }));
    var __VLS_196 = __VLS_195.apply(void 0, __spreadArray([{
            type: "danger",
        }], __VLS_functionalComponentArgsRest(__VLS_195), false));
    var __VLS_198 = __VLS_197.slots.default;
    var __VLS_197;
}
var __VLS_186;
var __VLS_111;
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "stock-total" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)(__assign({ style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.totalDiscountPrice);
// @ts-ignore
[totalDiscountPrice,];
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.totalSpecialPrice);
// @ts-ignore
[totalSpecialPrice,];
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.totalSeckillPrice);
// @ts-ignore
[totalSeckillPrice,];
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.totalStock);
// @ts-ignore
[totalStock,];
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "stock-pagination" }, { style: {} }));
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
(__VLS_ctx.filteredStockList.length);
(__VLS_ctx.stockTotalPages);
// @ts-ignore
[filteredStockList, stockTotalPages,];
var __VLS_199 = {}.ElPagination;
/** @type {[typeof __VLS_components.ElPagination, typeof __VLS_components.elPagination, ]} */ ;
// @ts-ignore
ElPagination;
// @ts-ignore
var __VLS_200 = __VLS_asFunctionalComponent(__VLS_199, new __VLS_199(__assign({ 'onCurrentChange': {} }, { currentPage: (__VLS_ctx.stockCurrentPage), pageSize: (10), layout: "prev, pager, next", total: (__VLS_ctx.filteredStockList.length), background: true, size: "small" })));
var __VLS_201 = __VLS_200.apply(void 0, __spreadArray([__assign({ 'onCurrentChange': {} }, { currentPage: (__VLS_ctx.stockCurrentPage), pageSize: (10), layout: "prev, pager, next", total: (__VLS_ctx.filteredStockList.length), background: true, size: "small" })], __VLS_functionalComponentArgsRest(__VLS_200), false));
var __VLS_203;
var __VLS_204;
var __VLS_205 = ({ currentChange: {} },
    { onCurrentChange: (__VLS_ctx.handleStockPageChange) });
// @ts-ignore
[filteredStockList, stockCurrentPage, handleStockPageChange,];
var __VLS_202;
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
__VLS_asFunctionalElement(__VLS_elements.span, __VLS_elements.span)({});
var __VLS_207 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_208 = __VLS_asFunctionalComponent(__VLS_207, new __VLS_207(__assign(__assign({ modelValue: (__VLS_ctx.stockJumpPage), type: "number" }, { style: {} }), { size: "small", min: "1" })));
var __VLS_209 = __VLS_208.apply(void 0, __spreadArray([__assign(__assign({ modelValue: (__VLS_ctx.stockJumpPage), type: "number" }, { style: {} }), { size: "small", min: "1" })], __VLS_functionalComponentArgsRest(__VLS_208), false));
// @ts-ignore
[stockJumpPage,];
var __VLS_212 = {}.ElButton;
/** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
// @ts-ignore
ElButton;
// @ts-ignore
var __VLS_213 = __VLS_asFunctionalComponent(__VLS_212, new __VLS_212(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })));
var __VLS_214 = __VLS_213.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { style: {} })], __VLS_functionalComponentArgsRest(__VLS_213), false));
var __VLS_216;
var __VLS_217;
var __VLS_218 = ({ click: {} },
    { onClick: (__VLS_ctx.handleStockJumpPage) });
var __VLS_219 = __VLS_215.slots.default;
// @ts-ignore
[handleStockJumpPage,];
var __VLS_215;
var __VLS_60;
var __VLS_220 = {}.ElDialog;
/** @type {[typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, typeof __VLS_components.ElDialog, typeof __VLS_components.elDialog, ]} */ ;
// @ts-ignore
ElDialog;
// @ts-ignore
var __VLS_221 = __VLS_asFunctionalComponent(__VLS_220, new __VLS_220({
    title: (__VLS_ctx.isEditMode ? '编辑仓库' : '新建仓库'),
    modelValue: (__VLS_ctx.dialogVisible),
    width: "600px",
    top: "20vh",
    destroyOnClose: true,
}));
var __VLS_222 = __VLS_221.apply(void 0, __spreadArray([{
        title: (__VLS_ctx.isEditMode ? '编辑仓库' : '新建仓库'),
        modelValue: (__VLS_ctx.dialogVisible),
        width: "600px",
        top: "20vh",
        destroyOnClose: true,
    }], __VLS_functionalComponentArgsRest(__VLS_221), false));
var __VLS_224 = __VLS_223.slots.default;
// @ts-ignore
[isEditMode, dialogVisible,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "dialog-section" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "section-title" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-row" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-item" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_225 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_226 = __VLS_asFunctionalComponent(__VLS_225, new __VLS_225({
    modelValue: (__VLS_ctx.warehouseForm.name),
    placeholder: "请输入仓库名称",
}));
var __VLS_227 = __VLS_226.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.name),
        placeholder: "请输入仓库名称",
    }], __VLS_functionalComponentArgsRest(__VLS_226), false));
// @ts-ignore
[warehouseForm,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-item" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_230 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_231 = __VLS_asFunctionalComponent(__VLS_230, new __VLS_230({
    modelValue: (__VLS_ctx.warehouseForm.address),
    placeholder: "请输入仓库地址",
}));
var __VLS_232 = __VLS_231.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.address),
        placeholder: "请输入仓库地址",
    }], __VLS_functionalComponentArgsRest(__VLS_231), false));
// @ts-ignore
[warehouseForm,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-row" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-item" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_235 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_236 = __VLS_asFunctionalComponent(__VLS_235, new __VLS_235({
    modelValue: (__VLS_ctx.warehouseForm.phone),
    placeholder: "请输入联系电话",
}));
var __VLS_237 = __VLS_236.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.phone),
        placeholder: "请输入联系电话",
    }], __VLS_functionalComponentArgsRest(__VLS_236), false));
// @ts-ignore
[warehouseForm,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "form-item" }));
__VLS_asFunctionalElement(__VLS_elements.label, __VLS_elements.label)({});
var __VLS_240 = {}.ElInput;
/** @type {[typeof __VLS_components.ElInput, typeof __VLS_components.elInput, ]} */ ;
// @ts-ignore
ElInput;
// @ts-ignore
var __VLS_241 = __VLS_asFunctionalComponent(__VLS_240, new __VLS_240({
    modelValue: (__VLS_ctx.warehouseForm.manager),
    placeholder: "请输入负责人",
}));
var __VLS_242 = __VLS_241.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.manager),
        placeholder: "请输入负责人",
    }], __VLS_functionalComponentArgsRest(__VLS_241), false));
// @ts-ignore
[warehouseForm,];
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "dialog-section" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "section-title" }));
__VLS_asFunctionalElement(__VLS_elements.div, __VLS_elements.div)(__assign({ class: "brand-checkboxes" }));
var __VLS_245 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_246 = __VLS_asFunctionalComponent(__VLS_245, new __VLS_245({
    modelValue: (__VLS_ctx.warehouseForm.brands),
    label: "蓝泥尔",
}));
var __VLS_247 = __VLS_246.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.brands),
        label: "蓝泥尔",
    }], __VLS_functionalComponentArgsRest(__VLS_246), false));
// @ts-ignore
[warehouseForm,];
var __VLS_250 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_251 = __VLS_asFunctionalComponent(__VLS_250, new __VLS_250({
    modelValue: (__VLS_ctx.warehouseForm.brands),
    label: "臻药",
}));
var __VLS_252 = __VLS_251.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.brands),
        label: "臻药",
    }], __VLS_functionalComponentArgsRest(__VLS_251), false));
// @ts-ignore
[warehouseForm,];
var __VLS_255 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_256 = __VLS_asFunctionalComponent(__VLS_255, new __VLS_255({
    modelValue: (__VLS_ctx.warehouseForm.brands),
    label: "贝亦美",
}));
var __VLS_257 = __VLS_256.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.brands),
        label: "贝亦美",
    }], __VLS_functionalComponentArgsRest(__VLS_256), false));
// @ts-ignore
[warehouseForm,];
var __VLS_260 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_261 = __VLS_asFunctionalComponent(__VLS_260, new __VLS_260({
    modelValue: (__VLS_ctx.warehouseForm.brands),
    label: "OD",
}));
var __VLS_262 = __VLS_261.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.brands),
        label: "OD",
    }], __VLS_functionalComponentArgsRest(__VLS_261), false));
// @ts-ignore
[warehouseForm,];
var __VLS_265 = {}.ElCheckbox;
/** @type {[typeof __VLS_components.ElCheckbox, typeof __VLS_components.elCheckbox, ]} */ ;
// @ts-ignore
ElCheckbox;
// @ts-ignore
var __VLS_266 = __VLS_asFunctionalComponent(__VLS_265, new __VLS_265({
    modelValue: (__VLS_ctx.warehouseForm.brands),
    label: "和悦肽",
}));
var __VLS_267 = __VLS_266.apply(void 0, __spreadArray([{
        modelValue: (__VLS_ctx.warehouseForm.brands),
        label: "和悦肽",
    }], __VLS_functionalComponentArgsRest(__VLS_266), false));
// @ts-ignore
[warehouseForm,];
{
    var __VLS_270 = __VLS_223.slots.footer;
    var __VLS_271 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_272 = __VLS_asFunctionalComponent(__VLS_271, new __VLS_271(__assign({ 'onClick': {} })));
    var __VLS_273 = __VLS_272.apply(void 0, __spreadArray([__assign({ 'onClick': {} })], __VLS_functionalComponentArgsRest(__VLS_272), false));
    var __VLS_275 = void 0;
    var __VLS_276 = void 0;
    var __VLS_277 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.dialogVisible = false;
                // @ts-ignore
                [dialogVisible,];
            } });
    var __VLS_278 = __VLS_274.slots.default;
    var __VLS_274;
    var __VLS_279 = {}.ElButton;
    /** @type {[typeof __VLS_components.ElButton, typeof __VLS_components.elButton, typeof __VLS_components.ElButton, typeof __VLS_components.elButton, ]} */ ;
    // @ts-ignore
    ElButton;
    // @ts-ignore
    var __VLS_280 = __VLS_asFunctionalComponent(__VLS_279, new __VLS_279(__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "save-btn" })));
    var __VLS_281 = __VLS_280.apply(void 0, __spreadArray([__assign(__assign({ 'onClick': {} }, { type: "primary" }), { class: "save-btn" })], __VLS_functionalComponentArgsRest(__VLS_280), false));
    var __VLS_283 = void 0;
    var __VLS_284 = void 0;
    var __VLS_285 = ({ click: {} },
        { onClick: function () {
                var _a = [];
                for (var _i = 0; _i < arguments.length; _i++) {
                    _a[_i] = arguments[_i];
                }
                var $event = _a[0];
                __VLS_ctx.isEditMode ? __VLS_ctx.handleUpdateWarehouse() : __VLS_ctx.handleSaveWarehouse();
                // @ts-ignore
                [isEditMode, handleUpdateWarehouse, handleSaveWarehouse,];
            } });
    var __VLS_286 = __VLS_282.slots.default;
    var __VLS_282;
}
var __VLS_223;
/** @type {__VLS_StyleScopedClasses['warehouse-page']} */ ;
/** @type {__VLS_StyleScopedClasses['page-title']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-list']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-card']} */ ;
/** @type {__VLS_StyleScopedClasses['add-card']} */ ;
/** @type {__VLS_StyleScopedClasses['add-icon']} */ ;
/** @type {__VLS_StyleScopedClasses['add-text']} */ ;
/** @type {__VLS_StyleScopedClasses['add-subtext']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-card']} */ ;
/** @type {__VLS_StyleScopedClasses['card-content']} */ ;
/** @type {__VLS_StyleScopedClasses['card-header']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-name']} */ ;
/** @type {__VLS_StyleScopedClasses['dropdown-container']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-amount']} */ ;
/** @type {__VLS_StyleScopedClasses['product-count']} */ ;
/** @type {__VLS_StyleScopedClasses['progress-container']} */ ;
/** @type {__VLS_StyleScopedClasses['progress-bar']} */ ;
/** @type {__VLS_StyleScopedClasses['brand-range']} */ ;
/** @type {__VLS_StyleScopedClasses['warehouse-address']} */ ;
/** @type {__VLS_StyleScopedClasses['el-icon-map-marker']} */ ;
/** @type {__VLS_StyleScopedClasses['manager-info']} */ ;
/** @type {__VLS_StyleScopedClasses['el-icon-user']} */ ;
/** @type {__VLS_StyleScopedClasses['el-icon-mobile-phone']} */ ;
/** @type {__VLS_StyleScopedClasses['stock-search-area']} */ ;
/** @type {__VLS_StyleScopedClasses['stock-total']} */ ;
/** @type {__VLS_StyleScopedClasses['stock-pagination']} */ ;
/** @type {__VLS_StyleScopedClasses['dialog-section']} */ ;
/** @type {__VLS_StyleScopedClasses['section-title']} */ ;
/** @type {__VLS_StyleScopedClasses['form-row']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['form-row']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['form-item']} */ ;
/** @type {__VLS_StyleScopedClasses['dialog-section']} */ ;
/** @type {__VLS_StyleScopedClasses['section-title']} */ ;
/** @type {__VLS_StyleScopedClasses['brand-checkboxes']} */ ;
/** @type {__VLS_StyleScopedClasses['save-btn']} */ ;
var __VLS_export = (await Promise.resolve().then(function () { return require('vue'); })).defineComponent({});
exports.default = {};
